package scaladuct.asm

import java.lang.{String, Class}
import scaladuct.Particle
import javax.validation.constraints.Max

/**
 * <p>
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: Aug 15, 2010
 * Time: 4:55:26 PM
 */

@serializable @SerialVersionUID(1)
class TestParticle1 extends Particle("p1") /*Should be filtered out of the generated wrapper*/ {
  var intProp: Int = _
  var byteProp: Byte = _
  var shortProp: Short = _
  var longProp: Long = _
  var floatProp: Float = _
  var doubleProp: Double = _
  var booleanProp: Boolean = _
  var charProp: Char = _
  var stringProp: String = "abc"

  /**
   * Should be filtered out of the generated wrapper.
   */
  def newConfig[X](classifier: Class[X]) = {
    print("jjj")
    null
  }
}

@serializable @SerialVersionUID(1)
class TestParticleWithAnnotations {
  @Max(10)
  var prop1: Int = 1

}

